//
//  WaterFlowLayout.h
//  PCAForWar
//
//  Created by dllo on 16/1/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WaterFlowDelegate <NSObject>

- (CGFloat)heightForItemIndexPath:(NSIndexPath *)indexPath;

@end

@interface WaterFlowLayout : UICollectionViewLayout

@property (nonatomic, assign) CGSize itemSize;
@property (nonatomic, assign) CGFloat insertItemSpacing;

@property (nonatomic, assign) id<WaterFlowDelegate>delegate;

@end
